<?php

namespace app\shop\enums\delivery;

use app\shop\enums\BaseEnum;

class FreightType extends BaseEnum
{
    /**
     * 按件数
     */
    const NUM = 1;
    /**
     * 按重量
     */
    const WEIGHT = 2;
    /**
     * 按体积
     */
    const VOLUME = 3;

    protected static array $descriptions = [
        self::NUM    => '按件数',
        self::WEIGHT => '按重量',
        self::VOLUME => '按体积',
    ];
}